home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / pov / gen / aatexe / aatlang.doc < prev    next >
Text File  |  1993-07-21  |  2KB  |  41 lines

  1. Input file structure:
  2.  
  3. VARIABLES:                        // Two slashes comment rest of line.
  4.         <variable-name>=<double>  // No spaces here
  5.         [ ... ]
  6.  
  7. FRAME [integer]                   // Whitespace where shown here.
  8.                                   // Tabs, spaces, returns are all whitespace.
  9.  
  10.         [ FRAMES <integer> ]
  11.         [ <variable-name> TO <double> [ MODE <integer> ] [ FRAMES <integer> ] ]
  12.         [ <variable-name> RANDOM <double> <double> [ FRAMES <integer> ] ]
  13.         [ <variable-name> SIN <double> <double> <double> <double> [ FRAMES <integer> ] ]
  14.         [ ... ]
  15.  
  16. END
  17.  
  18. You may have one VARIABLES: block, but many FRAME blocks.  The FRAMES
  19. command should only appear at the top of a FRAME block, otherwise the
  20. parser will probably think it's a FRAMES modifier to the previous command.
  21.  
  22.  
  23. Data-file structure:
  24.  
  25. AAT understands little about the structure of your renderer's input-file.
  26. It makes a couple of assumptions:
  27.  
  28. The banner inserted at the top uses /* and */ to signal a comment.  If your
  29. renderer doesn't do this, you can yank the banner altogether, or change the
  30. text in the delimiters only.  I'd prefer the second, obviously.
  31.  
  32. If your renderer uses $ as a meaningful character, you'll have to change
  33. the program's #define REPCHAR line.
  34.  
  35. AAT copies from the data-file to a generated file, character-for-character
  36. until it enocounters a $ symbol.  Then, it reads to another $ or a
  37. whitespace.  Then, the value of the named variable is written to the output
  38. instead of the $ and the text following.
  39.  
  40.  
  41.